﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for AccountStatus
/// </summary>
/// 
namespace CE.User
{
    public class AccountStatus
    {
        private Int64 _userstatusid;
        private Int64 _ceid;
        private bool _isconfirm;
        private bool _isblock;
        private bool _islogin;
        private bool _isactive;
        private Int32 _slogincount;
        private Int32 _flogincount;
        private DateTime _createddate;
        private DateTime _modifieddate;

        public AccountStatus()
        {
            ClearFileds();
        }

        public Int64 UserStatusId
        {
            get { return _userstatusid; }
            set { _userstatusid = value; }
        }

        public Int64 CEID
        {
            get { return _ceid; }
            set { _ceid = value; }
        }

        public bool IsConfirm
        {
            get { return _isconfirm; }
            set { _isconfirm = value; }
        }

        public bool IsBlock
        {
            get { return _isblock; }
            set { _isblock = value; }
        }

        public bool IsLogin
        {
            get { return _islogin; }
            set { _islogin = value; }
        }

        public bool IsActive
        {
            get { return _isactive; }
            set { _isactive = value; }
        }

        public Int32 SLoginCount
        {
            get { return _slogincount; }
            set { _slogincount = value; }
        }

        public Int32 FLoginCount
        {
            get { return _flogincount; }
            set { _flogincount = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public void ClearFileds()
        {
            _userstatusid = 0;
            _ceid = 0;
            _isconfirm =false;
            _isblock = false;
            _islogin = false;
            _isactive = false;
            _slogincount = 0;
            _flogincount = 0;
            _createddate = new DateTime(1900, 1, 1);
            _modifieddate = new DateTime(1900, 1, 1);

        }

    }
}